<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1" import="java.sql.*, support.*, java.util.*"%>
    
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%
	int id = Integer.valueOf((String) request.getParameter("id"));
	DatabaseAccessObject dao = new DatabaseAccessObject();
	Applicant a = dao.getApplicantById(id);
	session.setAttribute("applicant",a);
%>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link href="main.css" rel="stylesheet" type="text/css">
<title>Applicant</title>
</head>
<body>
<h1>Appicant</h1>

<jsp:include page="information.jsp"></jsp:include>
<jsp:include page="degree_display.jsp"></jsp:include>
</body>
</html>

<% session.removeAttribute("applicant"); %>